package com.imooc.admin.service;

import com.imooc.pojo.AdminUser;
import com.imooc.pojo.bo.NewAdminBO;
import com.imooc.utils.PagedGridResult;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @auther Levi
 * @Date: 2021/03/18/17:03
 * @Description:
 */
public interface AdminUserService {
    AdminUser queryAdminByUsername(String username);

    void createAdmin(NewAdminBO newAdminBO);

    PagedGridResult queryAdminList(Integer page, Integer pageSize);
}
